<?php
return [
	/***********框架系统配置*************/
	//'app_trace' =>  true,
	'app_debug' => true,

	'pathinfo_depr'          => '/',
	'default_module'=> 'index',
    'url_route_on' => true,
	'url_route_must'=>  false,
	// 是否自动转换URL中的控制器和操作名
    'url_convert'            => false,
	// 默认全局过滤方法 用逗号分隔多个
    'default_filter'         => 'htmlspecialchars',
	
    'view_replace_str'=>[
	    '__PUBLIC__'=>'/public/static',
	    '__RES__'=>'/public/static/view_res',
	    '__ADMIN__' =>'/public/static/view_res/admin',
	    'IMG_ROOT'=>'/'
	],		
	'template'               => [         
        'taglib_pre_load'     =>    'osc\common\taglib\Article', 
     ],
	'session'                => [
		'type'           => '',
		'auto_start'     => true,
	],	
	'cookie'                 => [
        // cookie 名称前缀
        'prefix'    => 'osc_',        
        // cookie 保存路径
        'path'      => '/'       
    ],

	//分页配置
	'paginate'               => [
		'type'      => 'bootstrap3',
		'var_page'  => 'page',
		'list_rows' => 15,
	],

		
	'URL_HTML_SUFFIX'=>'',
	//默认错误跳转对应的模板文件
	'dispatch_error_tmpl' => APP_PATH.'common/view/public/error.tpl',
	//默认成功跳转对应的模板文件
	'dispatch_success_tmpl' => APP_PATH.'common/view/public/success.tpl',	
	'system_module'=>['admin','common','index','install','member','mobile','payment'],	
	//平台商品
	'platform_goods'=>1,
	//报单商品
	'form_goods'=>2,
	//服务中心商品
	'service_goods'=>3,

	/*******会员升级消费级别***********/
	//vip
	'upgrade_vip'		=> 500,
	//银卡
	'upgrade_silver'	=> 3000,
	//金卡
	'upgrade_gold'		=> 10000,
	//钻卡
	'upgrade_drill'		=> 30000,
];
